using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace ElasticReflection
{
    /// <summary>
    /// Wrapper for PropertyInfo class to simplify functionality
    /// </summary>
    public class ElasticProperty : ElasticMember<PropertyInfo>
    {

        public ElasticProperty(ElasticType Parent, PropertyInfo Base)
            : base(Parent,Base)
        {
            
        }

        public void Set(object Value, params object[] Index)
        {
            Base.SetValue(Instance, Value, Index);
        }
        public object Get(params object[] Index)
        {
            return Base.GetValue(Instance, Index);
        }

    }
}
